package com.zt.ztyh.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class LoanDto implements Serializable {
    // 利率
    private String rate;

    //期限
    private String repaymentdate;

    //用户的id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long uid;

    //产品id
    private Long lid;

    //具体还款金额
    private BigDecimal loanlimit;


    private Long id;

    private Integer state;

    private String lname;
    private String createTimeBegin;
    private String createTimeEnd;

    private Integer page;
    private Integer limit;


}
